﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000013 RID: 19
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AcceptExpeditionCsReq : IMessage<AcceptExpeditionCsReq>, IMessage, IEquatable<AcceptExpeditionCsReq>, IDeepCloneable<AcceptExpeditionCsReq>, IBufferMessage
	{
		// Token: 0x1700002F RID: 47
		// (get) Token: 0x060000B4 RID: 180 RVA: 0x00003A45 File Offset: 0x00001C45
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AcceptExpeditionCsReq> Parser
		{
			get
			{
				return AcceptExpeditionCsReq._parser;
			}
		}

		// Token: 0x17000030 RID: 48
		// (get) Token: 0x060000B5 RID: 181 RVA: 0x00003A4C File Offset: 0x00001C4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AcceptExpeditionCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000031 RID: 49
		// (get) Token: 0x060000B6 RID: 182 RVA: 0x00003A5E File Offset: 0x00001C5E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AcceptExpeditionCsReq.Descriptor;
			}
		}

		// Token: 0x060000B7 RID: 183 RVA: 0x00003A65 File Offset: 0x00001C65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptExpeditionCsReq()
		{
		}

		// Token: 0x060000B8 RID: 184 RVA: 0x00003A6D File Offset: 0x00001C6D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptExpeditionCsReq(AcceptExpeditionCsReq other) : this()
		{
			this.fUNCUNLOCKIDEXPEDITION_ = ((other.fUNCUNLOCKIDEXPEDITION_ != null) ? other.fUNCUNLOCKIDEXPEDITION_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060000B9 RID: 185 RVA: 0x00003AA2 File Offset: 0x00001CA2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptExpeditionCsReq Clone()
		{
			return new AcceptExpeditionCsReq(this);
		}

		// Token: 0x17000032 RID: 50
		// (get) Token: 0x060000BA RID: 186 RVA: 0x00003AAA File Offset: 0x00001CAA
		// (set) Token: 0x060000BB RID: 187 RVA: 0x00003AB2 File Offset: 0x00001CB2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OJGLGPGDEPN FUNCUNLOCKIDEXPEDITION
		{
			get
			{
				return this.fUNCUNLOCKIDEXPEDITION_;
			}
			set
			{
				this.fUNCUNLOCKIDEXPEDITION_ = value;
			}
		}

		// Token: 0x060000BC RID: 188 RVA: 0x00003ABB File Offset: 0x00001CBB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AcceptExpeditionCsReq);
		}

		// Token: 0x060000BD RID: 189 RVA: 0x00003AC9 File Offset: 0x00001CC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AcceptExpeditionCsReq other)
		{
			return other != null && (other == this || (object.Equals(this.FUNCUNLOCKIDEXPEDITION, other.FUNCUNLOCKIDEXPEDITION) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060000BE RID: 190 RVA: 0x00003AFC File Offset: 0x00001CFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.fUNCUNLOCKIDEXPEDITION_ != null)
			{
				num ^= this.FUNCUNLOCKIDEXPEDITION.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060000BF RID: 191 RVA: 0x00003B38 File Offset: 0x00001D38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060000C0 RID: 192 RVA: 0x00003B40 File Offset: 0x00001D40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060000C1 RID: 193 RVA: 0x00003B49 File Offset: 0x00001D49
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.fUNCUNLOCKIDEXPEDITION_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.FUNCUNLOCKIDEXPEDITION);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060000C2 RID: 194 RVA: 0x00003B7C File Offset: 0x00001D7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.fUNCUNLOCKIDEXPEDITION_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.FUNCUNLOCKIDEXPEDITION);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060000C3 RID: 195 RVA: 0x00003BBC File Offset: 0x00001DBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AcceptExpeditionCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.fUNCUNLOCKIDEXPEDITION_ != null)
			{
				if (this.fUNCUNLOCKIDEXPEDITION_ == null)
				{
					this.FUNCUNLOCKIDEXPEDITION = new OJGLGPGDEPN();
				}
				this.FUNCUNLOCKIDEXPEDITION.MergeFrom(other.FUNCUNLOCKIDEXPEDITION);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060000C4 RID: 196 RVA: 0x00003C10 File Offset: 0x00001E10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060000C5 RID: 197 RVA: 0x00003C1C File Offset: 0x00001E1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.fUNCUNLOCKIDEXPEDITION_ == null)
					{
						this.FUNCUNLOCKIDEXPEDITION = new OJGLGPGDEPN();
					}
					input.ReadMessage(this.FUNCUNLOCKIDEXPEDITION);
				}
			}
		}

		// Token: 0x04000035 RID: 53
		private static readonly MessageParser<AcceptExpeditionCsReq> _parser = new MessageParser<AcceptExpeditionCsReq>(() => new AcceptExpeditionCsReq());

		// Token: 0x04000036 RID: 54
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000037 RID: 55
		public const int FUNCUNLOCKIDEXPEDITIONFieldNumber = 3;

		// Token: 0x04000038 RID: 56
		private OJGLGPGDEPN fUNCUNLOCKIDEXPEDITION_;
	}
}
